package com.ruoyi.system.service;

import java.util.List;

import com.ruoyi.system.domain.DeliveryOrder;
import com.ruoyi.system.request.DeliveryOrderListRequest;

/**
 * 出库单Service接口
 *
 * @author tanshen
 * @date 2023-08-21
 */
public interface IDeliveryOrderService {
    /**
     * 查询出库单
     *
     * @param id 出库单主键
     * @return 出库单
     */
    public DeliveryOrder selectDeliveryOrderById(Long id);

    /**
     * 查询出库单列表
     *
     * @param request 出库单
     * @return 出库单集合
     */
    public List<DeliveryOrder> selectDeliveryOrderList(DeliveryOrderListRequest request);

    /**
     * 新增出库单
     *
     * @param deliveryOrder 出库单
     * @return 结果
     */
    public int insertDeliveryOrder(DeliveryOrder deliveryOrder);

    /**
     * 修改出库单
     *
     * @param deliveryOrder 出库单
     * @return 结果
     */
    public int updateDeliveryOrder(DeliveryOrder deliveryOrder);

    /**
     * 批量删除出库单
     *
     * @param ids 需要删除的出库单主键集合
     * @return 结果
     */
    public int deleteDeliveryOrderByIds(String ids);

    /**
     * 删除出库单信息
     *
     * @param id 出库单主键
     * @return 结果
     */
    public int deleteDeliveryOrderById(Long id);
}
